﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Frunit.Model
{
    /// <summary>
    /// 技术推广人员情况表T_FruTecPromotion查询条件
    /// </summary>
    public class FruTecPromotionQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 机构数量
        /// </summary>
        public int? InstituNum{ get;set;}
        /// <summary>
        /// 州市级机构数
        /// </summary>
        public int? InstituNum_City{ get;set;}
        /// <summary>
        /// 区县级机构数
        /// </summary>
        public int? InstituNum_Area{ get;set;}
        /// <summary>
        /// 乡镇级机构数
        /// </summary>
        public int? InstituNum_town{ get;set;}
        /// <summary>
        /// 总人数
        /// </summary>
        public int? PeopleNum{ get;set;}
        /// <summary>
        /// 男性人数
        /// </summary>
        public int? PeopleNum_man{ get;set;}
        /// <summary>
        /// 女性人数
        /// </summary>
        public int? PeopleNum_woman{ get;set;}
        /// <summary>
        /// 30岁以下（含30岁)
        /// </summary>
        public int? PeopleNum_age1{ get;set;}
        /// <summary>
        /// 30-40岁（含40）
        /// </summary>
        public int? PeopleNum_age2{ get;set;}
        /// <summary>
        /// 40-50岁（含50）
        /// </summary>
        public int? PeopleNum_age3{ get;set;}
        /// <summary>
        /// 50岁以上
        /// </summary>
        public int? PeopleNum_age4{ get;set;}
        /// <summary>
        /// 硕士及以上
        /// </summary>
        public int? PeopleNum_xlss{ get;set;}
        /// <summary>
        /// 本科
        /// </summary>
        public int? PeopleNum_xlbk{ get;set;}
        /// <summary>
        /// 大专
        /// </summary>
        public int? PeopleNum_xldz{ get;set;}
        /// <summary>
        /// 中专(技校)
        /// </summary>
        public int? PeopleNum_xlzz{ get;set;}
        /// <summary>
        /// 其他学历
        /// </summary>
        public int? PeopleNum_xlqt{ get;set;}
        /// <summary>
        /// 正高级职称
        /// </summary>
        public int? PeopleNum_zczgj{ get;set;}
        /// <summary>
        /// 副高级职称
        /// </summary>
        public int? PeopleNum_zcfgj{ get;set;}
        /// <summary>
        /// 中级职称
        /// </summary>
        public int? PeopleNum_zczj{ get;set;}
        /// <summary>
        /// 初级职称
        /// </summary>
        public int? PeopleNum_zccj{ get;set;}
        /// <summary>
        /// 其他职称
        /// </summary>
        public int? PeopleNum_zcqt{ get;set;}
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser{ get;set;}
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime{ get;set;}
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser{ get;set;}
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime{ get;set;}
        /// <summary>
        /// 其中：县乡级人数
        /// </summary>
        public int? PeopleNum_County{ get;set;}
        /// <summary>
        /// 州市级人数
        /// </summary>
        public int? PeopleNum_City{ get;set;}
    }
    public class FruTecPromotionModel 
    {
        public string year;
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        /// <summary>
        /// 机构数量
        /// </summary>
        public int? InstituNum { get; set; }
        /// <summary>
        /// 州市级机构数
        /// </summary>
        public int? InstituNum_City { get; set; }
        /// <summary>
        /// 区县级机构数
        /// </summary>
        public int? InstituNum_Area { get; set; }
        /// <summary>
        /// 乡镇级机构数
        /// </summary>
        public int? InstituNum_town { get; set; }
        /// <summary>
        /// 总人数
        /// </summary>
        public int? PeopleNum { get; set; }
        /// <summary>
        /// 其中：县乡级人数
        /// </summary>
        public int? PeopleNum_County { get; set; }
        /// <summary>
        /// 其中：州市级人数
        /// </summary>
        public int? PeopleNum_City { get; set; }
        /// <summary>
        /// 男性人数
        /// </summary>
        public int? PeopleNum_man { get; set; }
        /// <summary>
        /// 女性人数
        /// </summary>
        public int? PeopleNum_woman { get; set; }
        /// <summary>
        /// 30岁以下（含30岁)
        /// </summary>
        public int? PeopleNum_age1 { get; set; }
        /// <summary>
        /// 30-40岁（含40）
        /// </summary>
        public int? PeopleNum_age2 { get; set; }
        /// <summary>
        /// 40-50岁（含50）
        /// </summary>
        public int? PeopleNum_age3 { get; set; }
        /// <summary>
        /// 50岁以上
        /// </summary>
        public int? PeopleNum_age4 { get; set; }
        /// <summary>
        /// 硕士及以上
        /// </summary>
        public int? PeopleNum_xlss { get; set; }
        /// <summary>
        /// 本科
        /// </summary>
        public int? PeopleNum_xlbk { get; set; }
        /// <summary>
        /// 大专
        /// </summary>
        public int? PeopleNum_xldz { get; set; }
        /// <summary>
        /// 中专(技校)
        /// </summary>
        public int? PeopleNum_xlzz { get; set; }
        /// <summary>
        /// 其他学历
        /// </summary>
        public int? PeopleNum_xlqt { get; set; }
        /// <summary>
        /// 正高级职称
        /// </summary>
        public int? PeopleNum_zczgj { get; set; }
        /// <summary>
        /// 副高级职称
        /// </summary>
        public int? PeopleNum_zcfgj { get; set; }
        /// <summary>
        /// 中级职称
        /// </summary>
        public int? PeopleNum_zczj { get; set; }
        /// <summary>
        /// 初级职称
        /// </summary>
        public int? PeopleNum_zccj { get; set; }
        /// <summary>
        /// 其他职称
        /// </summary>
        public int? PeopleNum_zcqt { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
    public class FruTecPromotionViewModel
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 审核未通过原因
        /// </summary>
        public string Opinion { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId { get; set; }
        public string ReportStatus { get; set; }
        /// <summary>
        /// 机构数量
        /// </summary>
        public int? InstituNum { get; set; }
        /// <summary>
        /// 州市级机构数
        /// </summary>
        public int? InstituNum_City { get; set; }
        /// <summary>
        /// 区县级机构数
        /// </summary>
        public int? InstituNum_Area { get; set; }
        /// <summary>
        /// 乡镇级机构数
        /// </summary>
        public int? InstituNum_town { get; set; }
        /// <summary>
        /// 总人数
        /// </summary>
        public int? PeopleNum { get; set; }

        public int? PeopleNum_County { get; set; }
        /// <summary>
        /// 其中：县乡级人数
        /// </summary>
        public int? PeopleNum_City { get; set; }
        /// <summary>
        /// 男性人数
        /// </summary>
        public int? PeopleNum_man { get; set; }
        /// <summary>
        /// 女性人数
        /// </summary>
        public int? PeopleNum_woman { get; set; }
        /// <summary>
        /// 30岁以下（含30岁)
        /// </summary>
        public int? PeopleNum_age1 { get; set; }
        /// <summary>
        /// 30-40岁（含40）
        /// </summary>
        public int? PeopleNum_age2 { get; set; }
        /// <summary>
        /// 40-50岁（含50）
        /// </summary>
        public int? PeopleNum_age3 { get; set; }
        /// <summary>
        /// 50岁以上
        /// </summary>
        public int? PeopleNum_age4 { get; set; }
        /// <summary>
        /// 硕士及以上
        /// </summary>
        public int? PeopleNum_xlss { get; set; }
        /// <summary>
        /// 本科
        /// </summary>
        public int? PeopleNum_xlbk { get; set; }
        /// <summary>
        /// 大专
        /// </summary>
        public int? PeopleNum_xldz { get; set; }
        /// <summary>
        /// 中专(技校)
        /// </summary>
        public int? PeopleNum_xlzz { get; set; }
        /// <summary>
        /// 其他学历
        /// </summary>
        public int? PeopleNum_xlqt { get; set; }
        /// <summary>
        /// 正高级职称
        /// </summary>
        public int? PeopleNum_zczgj { get; set; }
        /// <summary>
        /// 副高级职称
        /// </summary>
        public int? PeopleNum_zcfgj { get; set; }
        /// <summary>
        /// 中级职称
        /// </summary>
        public int? PeopleNum_zczj { get; set; }
        /// <summary>
        /// 初级职称
        /// </summary>
        public int? PeopleNum_zccj { get; set; }
        /// <summary>
        /// 其他职称
        /// </summary>
        public int? PeopleNum_zcqt { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string AddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string OldId { get; set; }
        /// <summary>
        /// 报表编号
        /// </summary>
        public string OldReportId { get; set; }
        public string OldReportStatus { get; set; }

        /// <summary>
        /// 机构数量
        /// </summary>
        public int? OldInstituNum { get; set; }
        /// <summary>
        /// 州市级机构数
        /// </summary>
        public int? OldInstituNum_City { get; set; }
        /// <summary>
        /// 区县级机构数
        /// </summary>
        public int? OldInstituNum_Area { get; set; }
        /// <summary>
        /// 乡镇级机构数
        /// </summary>
        public int? OldInstituNum_town { get; set; }
        /// <summary>
        /// 总人数
        /// </summary>
        public int? OldPeopleNum { get; set; }
        public int? OldPeopleNum_County { get; set; }
        /// <summary>
        /// 其中：县乡级人数
        /// </summary>
        public int? OldPeopleNum_City { get; set; }
        /// <summary>
        /// 男性人数
        /// </summary>
        public int? OldPeopleNum_man { get; set; }
        /// <summary>
        /// 女性人数
        /// </summary>
        public int? OldPeopleNum_woman { get; set; }
        /// <summary>
        /// 30岁以下（含30岁)
        /// </summary>
        public int? OldPeopleNum_age1 { get; set; }
        /// <summary>
        /// 30-40岁（含40）
        /// </summary>
        public int? OldPeopleNum_age2 { get; set; }
        /// <summary>
        /// 40-50岁（含50）
        /// </summary>
        public int? OldPeopleNum_age3 { get; set; }
        /// <summary>
        /// 50岁以上
        /// </summary>
        public int? OldPeopleNum_age4 { get; set; }
        /// <summary>
        /// 硕士及以上
        /// </summary>
        public int? OldPeopleNum_xlss { get; set; }
        /// <summary>
        /// 本科
        /// </summary>
        public int? OldPeopleNum_xlbk { get; set; }
        /// <summary>
        /// 大专
        /// </summary>
        public int? OldPeopleNum_xldz { get; set; }
        /// <summary>
        /// 中专(技校)
        /// </summary>
        public int? OldPeopleNum_xlzz { get; set; }
        /// <summary>
        /// 其他学历
        /// </summary>
        public int? OldPeopleNum_xlqt { get; set; }
        /// <summary>
        /// 正高级职称
        /// </summary>
        public int? OldPeopleNum_zczgj { get; set; }
        /// <summary>
        /// 副高级职称
        /// </summary>
        public int? OldPeopleNum_zcfgj { get; set; }
        /// <summary>
        /// 中级职称
        /// </summary>
        public int? OldPeopleNum_zczj { get; set; }
        /// <summary>
        /// 初级职称
        /// </summary>
        public int? OldPeopleNum_zccj { get; set; }
        /// <summary>
        /// 其他职称
        /// </summary>
        public int? OldPeopleNum_zcqt { get; set; }
        /// <summary>
        /// 新增人
        /// </summary>
        public string OldAddUser { get; set; }
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? OldAddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string OldUpdateUser { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? OldUpdateTime { get; set; }
    }

    public class PromotionStatisModel
    {
        /// <summary>
        /// 地区
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        public string AreaCode { get; set; }
        /// <summary>
        /// 机构数量
        /// </summary>
        public int? InstituNum { get; set; }
        /// <summary>
        /// 州市级机构数
        /// </summary>
        public int? InstituNum_City { get; set; }
        /// <summary>
        /// 区县级机构数
        /// </summary>
        public int? InstituNum_Area { get; set; }
        /// <summary>
        /// 乡镇级机构数
        /// </summary>
        public int? InstituNum_town { get; set; }
        /// <summary>
        /// 总人数
        /// </summary>
        public int? PeopleNum { get; set; }
        /// <summary>
        /// 其中：县乡级人数
        /// </summary>
        public int? PeopleNum_County { get; set; }
        /// <summary>
        /// 州市级人数
        /// </summary>
        public int? PeopleNum_City { get; set; }
        /// <summary>
        /// 男性人数
        /// </summary>
        public int? PeopleNum_man { get; set; }
        /// <summary>
        /// 女性人数
        /// </summary>
        public int? PeopleNum_woman { get; set; }
        /// <summary>
        /// 30岁以下（含30岁)
        /// </summary>
        public int? PeopleNum_age1 { get; set; }
        /// <summary>
        /// 30-40岁（含40）
        /// </summary>
        public int? PeopleNum_age2 { get; set; }
        /// <summary>
        /// 40-50岁（含50）
        /// </summary>
        public int? PeopleNum_age3 { get; set; }
        /// <summary>
        /// 50岁以上
        /// </summary>
        public int? PeopleNum_age4 { get; set; }
        /// <summary>
        /// 硕士及以上
        /// </summary>
        public int? PeopleNum_xlss { get; set; }
        /// <summary>
        /// 本科
        /// </summary>
        public int? PeopleNum_xlbk { get; set; }
        /// <summary>
        /// 大专
        /// </summary>
        public int? PeopleNum_xldz { get; set; }
        /// <summary>
        /// 中专(技校)
        /// </summary>
        public int? PeopleNum_xlzz { get; set; }
        /// <summary>
        /// 其他学历
        /// </summary>
        public int? PeopleNum_xlqt { get; set; }
        /// <summary>
        /// 正高级职称
        /// </summary>
        public int? PeopleNum_zczgj { get; set; }
        /// <summary>
        /// 副高级职称
        /// </summary>
        public int? PeopleNum_zcfgj { get; set; }
        /// <summary>
        /// 中级职称
        /// </summary>
        public int? PeopleNum_zczj { get; set; }
        /// <summary>
        /// 初级职称
        /// </summary>
        public int? PeopleNum_zccj { get; set; }
        /// <summary>
        /// 其他职称
        /// </summary>
        public int? PeopleNum_zcqt { get; set; }
        /// <summary>
        /// 标识，0表示县级，1表示州市级，2表示省级
        /// </summary>
        public int tag { get; set; }
        
    }

}
